Xbasic

INET::SSLSocket::CreateCertificateRequest Method

Syntax

Result_Flag as L = INET::SSLSocket::CreateCertificateRequest( CertificateFile as C, PrivateKeyFile as C, PrivateKeyPassword as C [, CountryCode as C [, State as C [, Locality as C [, Organization as C [, OrganizationalUnit as C [, CommonName as C ]]]]]] )

Arguments

Result_Flag

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

CertificateFile

The path and name of the SSL Server Certificate file.

PrivateKeyFile

The path and name of the private key file.

PrivateKeyPassword

The password for the private key file.

CountryCode

Optional. Default = "US".

State

Optional. Default = "MA".

Locality

Optional. Default = "Burlington".

Organization

Optional. Default = "Alpha Software Customer".

OrganizationalUnit

Optional. Default = "Development Test".

CommonName

Optional. Default = "Server Test Certificate".

Description

The INET::SSLSocket::CreateCertificateRequest() method creates a request for a certificate.

See Also